package com.hh.service.service.integral;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hh.common.model.integral.IntegralOrderInfo;
import com.hh.common.vo.integral.StoreIntegralOrderInfoVo;

import java.util.HashMap;
import java.util.List;

public interface IntegralOrderInfoService extends IService<IntegralOrderInfo> {
    boolean create(IntegralOrderInfo integralOrderInfo);

    List<IntegralOrderInfo> getListByOrderNo(String orderId);

    HashMap<Integer, List<StoreIntegralOrderInfoVo>> getMapInId(List<Integer> orderIdList);

    List<StoreIntegralOrderInfoVo> getOrderListByOrderId(Integer id);
}
